<template>
  <div class="box">
    <Suspense>
      <template #default>
        <loveWord />
      </template>
      <template #fallback>
        <div>加载中，请稍后....</div>
      </template>
    </Suspense>
    <div v-beauty="'hello'">{{ moment.msg }}</div>
  </div>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import loveWord from './loveWord.vue';

</script>

<style lang="scss" scoped>
.box {
  width: 100%;
  height: 100px;
  background: #ededed;
}
</style>